home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / dos_win / winsock / maillist / 94-03.Z / 94-03 / text0100.txt < prev    next >
Encoding:
Text File  |  1994-03-30  |  5.6 KB  |  134 lines

  1.  
  2. Paul asked:
  3. ...
  4. > When I build my winsock application I link in the winsock.lib file. When the 
  5. > application starts, if it cannot find a winsock.dll anywhere in the path then 
  6. > it bombs out with a system modal "Cannot find WINSOCK.DLL" and the
  7. > application never starts. This message occurs before my applcaition starts
  8. > and reaches the point where I call WSAStartUp to test for a valid WINSOCK.DL
  9. ...
  10. > Has anyone seen this?
  11. > Has anyone fixed this?
  12. > Who actually controls the winsock.lib
  13. > Is there source code for it?
  14.  
  15.     The symptoms that you have noticed are 'pure' Windows!
  16.  
  17.     When you link with an (import) library, you tell Windows
  18.     that you want to load that library (DLL) when your app
  19.     starts.  Also you say that your app cannot live without
  20.     that DLL!
  21.  
  22.     The alternatives you have are:
  23.  
  24.     A) remove the import library from the linkage;  use directory
  25.        operations to search for the DLL (show an error if not found),
  26.        call LoadLibrary, call GetProcAddress for any of the APIs you need,
  27.        call the APIs only through these pointers and finally call
  28.        FreeLibrary
  29.  
  30.     B) make another (small) app that uses the directory operations and
  31.        finally start your (main) app with WinExec if you find WINSOCK.DLL;
  32.        this way your main app can be linked with the import library but
  33.        you still can check the existence of WINSOCK.DLL (besides:
  34.        this way you can also very quickly show some start up logo,
  35.        check against multiple instances of your app etc.)
  36.  
  37.     Pekka Neva
  38.  
  39. ===============================================================================
  40.     Oy Laatukolmio Ab            Tel: + 358 0 427766
  41.     Westendintie 99-101 A 30        Fax: + 358 0 4524648
  42.     FIN-02160 ESPOO 16
  43.     FINLAND                    ELISA: Laatukolmio
  44. ===============================================================================
  45. From stan@pobox.upenn.edu Tue Mar  8 03:23:39 1994
  46. Received: from NOC4.DCCS.UPENN.EDU by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  47.           id AA28529; Tue, 8 Mar 1994 08:23:45 -0500
  48. Received: from POBOX.UPENN.EDU by noc4.dccs.upenn.edu
  49.     id AA20905; Tue, 8 Mar 94 08:23:41 -0500
  50. Return-Path: <stan@pobox.upenn.edu>
  51. Received: by pobox.upenn.edu
  52.     id AA23486; Tue, 8 Mar 94 08:23:40 -0500
  53. From: Stan Kasper <stan@pobox.upenn.edu>
  54. Posted-Date: Tue, 8 Mar 1994 08:23:39 -0500 (EST)
  55. Message-Id: <9403081323.AA23486@pobox.upenn.edu>
  56. Subject: $25 WINSOCK
  57. To: winsock@sunsite.unc.edu
  58. Date: Tue, 8 Mar 1994 08:23:39 -0500 (EST)
  59. Cc: catone@dmark.wharton.upenn.edu (Tony Catone)
  60. X-Mailer: ELM [version 2.4 PL23-upenn2.7]
  61. Mime-Version: 1.0
  62. Content-Type: text/plain; charset=US-ASCII
  63. Content-Transfer-Encoding: 7bit
  64. Content-Length: 1631      
  65.  
  66. After seeing posts about a $25 WINSOCK for SLIP/PPP I immediately went out
  67. and got the book (The WINDOWS INTERNET Tour Guide) that comes with this
  68. software.
  69.  
  70. For me, the TRUMPET WINSOCK was a 5 minute install, including scripting.
  71.  
  72. The 'WINDOWS INTERNET TOUR GUIDE' on the other hand was not!!!
  73.  
  74. Sure, it would have been easier if I could have used one of the default
  75. configurations of several large service provides (which the person who
  76. got there WINSOCK up in running in 5 minutes was probably subscribed to),
  77. but I work for a University and the terminal server is setup a bit different.
  78. So I had to spend a bit of time going through the README file on script
  79. commands (I would rate the TRUMPET WINSOCK scripting better than what was
  80. presented in the REAME file).  I have still not gotten the script language
  81. from the book to recognize the IP address.  Whereas with TRUMPET WINSOCK
  82. it was no problem.  I am using the README's command '-i' and watching the
  83. 'LOG' file but the CHAMELEON WINSOCK that comes with the book doesnt
  84. seem to pick it up.  Now I may be doing something wrong.  It just
  85. seems the TRUMPET WINSOCK handles it better for my environment.
  86.  
  87. Also the books WINSOCK only gave me modem speeds to 19.2KB in the pull
  88. down configuration using CSLIP even though I am using CYBERDRIVE and
  89. have a 16550AF serial card.  Once again, I may not have it setup right
  90. but with TRUMPET WINSOCK it was right there in the configuration window.
  91.  
  92. As far as installation and support to conect to a terminal server go,
  93. TRUMPET WINSOCK does it better.
  94.  
  95. Now there are other issues to consider...
  96.  
  97.  
  98. -Stan Kasper
  99. University of Pennsylvania
  100. From news@bigblue.oit.unc.edu Mon Mar  7 15:37:35 1994
  101. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  102.           id AA05997; Tue, 8 Mar 1994 09:28:07 -0500
  103. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  104.           id AA24444; Tue, 8 Mar 1994 09:04:45 -0500
  105. Received: from GATEWAY by bigblue with netnews
  106.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  107. To: winsock@sunsite.unc.edu
  108. Date: 7 Mar 1994 23:37:35 -0800
  109. From: harlock@hebron.connected.com (Eric Harding)
  110. Message-Id: <2lh9vv$gjf@hebron.connected.com>
  111. Organization: Connected INC -- Internet Services
  112. Sender: ses
  113. Subject: Suggestions for Newbie
  114.  
  115. Can some suggest some programs to run with Winsock?  Specifically a 
  116. newsreader, Telnet, FTP, Gopher, WWW, WAIS clients?  Newsreader wise, I 
  117. am looking for a  threaded newsreader, with uuencode/uudecode capibilites.
  118.  
  119. Thanks.
  120.  
  121. Eric
  122.  
  123. --
  124.  
  125.              _______________________________________________________________
  126.             /Eric Harding   'My opinions are mine, not anyone else's.     /
  127.           /harlock@hebron.connected.com                                 /
  128.         /-------------------------------------------------------------/
  129.       /  IMAGE= Infantile Men And Giant Egos.                       /
  130.     /    Just killing time untill something better comes along.   / 
  131.   /                   Omega Supreme TransformersMUSH            /
  132.  --------------------------------------------------------------
  133.  
  134.